/* API2MCP 样式表 */

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #f8fafc;
    line-height: 1.6;
    color: #1e293b;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    background: white;
    padding: 1.5rem;
}

.table th {
    font-weight: 600;
    color: #495057;
}

.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-sm {
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin-right: 5px;
}

.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
}

/* 添加刷新按钮 */
.refresh-btn {
    margin-left: 10px;
}

/* 表单样式 */
.form-label {
    font-weight: 500;
    color: #495057;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 工具测试结果样式 */
#testResult {
    max-height: 300px;
    overflow-y: auto;
}